/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dieci.database.sales;

import dieci.database.BaseHibernateDAO;
import dieci.system.Client;
import dieci.system.Sale;
import java.util.Date;
import java.util.List;

/**
 *
 * @author Pc
 */
interface SaleDAO extends BaseHibernateDAO
{
    public List<Sale> list();
    public Sale findBySaleId(long id);
    public List<Sale> findBySaleDateRange(Date start, Date end);
    public List<Sale> findByClient(Client client);
}
